<template>
	<view class="more_file">
		<text class="title">选择其他上传类型</text>
		<view class="file_list">
			<view class="file_item" v-for="(item,index) in fileList" :key="index">
				<image src="/static/tab/remote_act.png" mode=""></image>
				<text>腾讯文档</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "moreFile",
		data() {
			return {
				fileList: [{
					icon: '',
					text: '',
					id: ''
				}, {
					icon: '',
					text: '',
					id: ''
				}, {
					icon: '',
					text: '',
					id: ''
				}, {
					icon: '',
					text: '',
					id: ''
				}, {
					icon: '',
					text: '',
					id: ''
				}, {
					icon: '',
					text: '',
					id: ''
				}, {
					icon: '',
					text: '',
					id: ''
				}, ]
			};
		}
	}
</script>

<style lang="scss" scoped>
	.more_file {
	.file_list {
	    display: flex;
	    flex-wrap: wrap;
	    padding: 0 50rpx;
	    justify-content: space-between; /* 均匀分配项之间的间距 */
	
	    .file_item {
	        display: flex;
	        flex-direction: column;
	        align-items: center;
	        margin-bottom: 20rpx; /* 增加底部间距 */
	        width: calc(33.33% - 40rpx); /* 三列布局，减去间距 */
	
	        &:nth-child(3n) {
	            margin-right: 0; /* 每三项最后一项不右边距 */
	        }
	
	        image {
	            width: 100rpx;
	            height: 100rpx;
	        }
	
	        text {
	            font-size: 28rpx;
	            margin-top: 10rpx;
	            text-align: center; /* 文字居中 */
	        }
	    }
	}



		.title {
			font-size: 28rpx;
			color: #c4c4c4;
			margin: 40rpx 0;
		}

		width: 702rpx;
		display: flex;
		flex-wrap: wrap;
		margin: 0 auto;
		box-sizing: content-box;
		padding: 30rpx 0;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
</style>